// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import Element from "element-ui";
import { axios, router, store } from "./config";

Vue.use(Element, { size: "small" });
Vue.prototype.axios = axios;
Vue.config.productionTip = false;

new Vue({
  el: "#app",
  axios,
  router,
  store,
  render(h) {
    return h("router-view", {
      attrs: {
        id: "app"
      }
    });
  }
});
